package com.dwj.auto.comment.service;

import com.dwj.auto.comment.common.response.PageResponse;
import com.dwj.auto.comment.common.response.Response;
import com.dwj.auto.comment.dao.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dwj.auto.comment.model.form.StudentForm;
import com.dwj.auto.comment.model.req.StuSearchCriteria;
import com.dwj.auto.comment.model.req.StudentCriteria;
import com.dwj.auto.comment.model.vo.StudentSearchVo;
import com.dwj.auto.comment.model.vo.StudentVo;
import com.dwj.auto.comment.model.vo.UserVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dwjian
 * @since 2020-01-13
 */
public interface IStudentService extends IService<Student> {

    PageResponse<StudentVo> getList(StudentCriteria pagination);

    Response<String> edit(StudentForm form);

    Response<String> delete(List<String> ids);

    Response<StudentVo> get(String id);

    PageResponse<StudentSearchVo> searchList(StuSearchCriteria pagination);

    boolean hasStudent(UserVo userVo);
}
